package com.bx.imcommon.enums;

import lombok.AllArgsConstructor;

/**
 * 用户在线状态枚举
 * @author cbb
 * @date 2025/02/15
 */
@AllArgsConstructor
public enum IMUserOnlineStatus {

    /**
     * 离线
     */
    OFF_LINE(0, "离线"),
    /**
     * 在线
     */
    ON_LINE(1, "在线");


    private final Integer code;
    private final String desc;

    public Integer code() {
        return this.code;
    }

}
